home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 4 / MacMania 4.toast / / Demo's / Igor Demo Pro / 1 PutContentsIn Igor Pro Folder / WaveMetrics Procedures / Graphing / AddPlotFrame next >
Text File  |  1994-02-18  |  314b  |  11 lines

  1. | This macro draws a rectangle around the plot area of a graph. It is
  2. | provided when you are using stacked or staggered axes and also want
  3. | a frame.
  4. |
  5. Macro AddPlotFrame()
  6.     SetDrawLayer UserBack
  7.     SetDrawEnv xcoord= prel,ycoord= prel,fillpat= 0
  8.     DrawPoly 0,0,1,1,{0,0,0,1,1,1,1,0,0,0}
  9.     SetDrawLayer UserFront
  10. End
  11.